<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
    <title>Mud</title>
    <base href="/" />
    <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
    <link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
    <link rel="icon" type="image/png" href="favicon.png" />

    <style>
        /* 加载动画容器 */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #e6e6fa; /* 柔和的浅紫色 */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            transition: opacity 0.5s ease;
        }

        /* 旋转动画 */
        .loader-spinner {
            border: 6px solid rgba(255, 255, 255, 0.3);
            border-top: 6px solid #9370db; /* 柔和的紫色 */
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 1.5s linear infinite;
        }

        /* 加载文字 */
        .loader-text {
            margin-top: 20px;
            color: #6a5acd; /* 柔和的紫色 */
            font-size: 18px;
            font-weight: bold;
        }

        /* 旋转动画关键帧 */
        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* 页面内容 */
        .content {
            text-align: center;
            padding: 50px;
            opacity: 0;
            transition: opacity 1s ease;
        }

            /* 显示页面内容 */
            .content.visible {
                opacity: 1;
            }

        /* 隐藏加载动画 */
        .loader.hidden {
            opacity: 0;
            pointer-events: none;
        }
    </style>
</head>

<body>

    <div class="status-bar-safe-area"></div>
    <!--<a href="_content/MudBlazor/MudBlazor.min.css">_content/MudBlazor/MudBlazor.min.css</a>
    <a href="_content/MudBlazor/MudBlazor.min.js">_content/MudBlazor/MudBlazor.min.js</a>-->
    <div id="mainapp">
        <div id="loader" class="loader">
            <div class="loader-spinner"></div>
            <div class="loader-text">加载中...</div>
        </div>
    </div>

    <div id="blazor-error-ui">
        An unhandled error has occurred.
        <a href="" class="reload">Reload</a>
        <a class="dismiss">🗙</a>
    </div>

    <script src="_framework/blazor.webview.js" autostart="false"></script>
    <script src="_content/MudBlazor/MudBlazor.min.js"></script>
    <script src="dragdrop.webview2.polyfill.js"></script>

</body>

</html>